<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="result.php" method="get">
    <input type="checkbox" name="fav[0]" value="1"/>排球
    <input type="checkbox" name="fav[1]" value="2"/>篮球
    <input type="checkbox" name="fav[2]" value="3"/>足球
    <input type="checkbox" name="fav[3]" value="4"/>羽毛球
    <input type="radio" name="sex" value="0" />男
    <input type="radio" name="sex" value="1" checked />女
    <select name='degree'>
        <option value='1'>大专</option>
        <option value='2'>本科</option>
        <option value='3'>硕士</option>
        <option value='4'>博士</option>
    </select>
    <br/>
    <input type="text" name="name" />
    <input type="submit" value="提交" />
</form>
</body>
</html>